package com.infovalley.tx_plugin;

import com.tencent.mm.opensdk.openapi.IWXAPI;

/***
 * 插件中的常量及微信SDK的实例对象
 */
public class PluginConstants {

    public static final String WX_PAY_FILTER =
            "com.info_valley.plugin.tencent_plugin.wxapi.WXPayEntryActivity";

    //微信的广播地址
    public static final String WX_AUTHORIZATION_FILTER =
            "com.info_valley.plugin.tencent_plugin.wxapi.WXEntryActivity.Authorization";

    public static final String WX_SHARED_FILTER =
            "com.info_valley.plugin.tencent_plugin.wxapi.WXEntryActivity.Shared";

    public static final String WX_JUMPAPP_MESSAGE=
            "com.info_valley.plugin.tencent_plugin.wxapi.WXEntryActivity.JUMPAPPMESSAGE";

    //h5跳转app的参数字段
    public static final String EXTINFO="EXTINFO";

    private static IWXAPI wxApi = null;

    private static String wxAppID = "wx8131fa0ca06ed1e6";

    private static String qqAppID = "101815213";

    public static IWXAPI getWxApi() {
        return wxApi;
    }

    public static void setWxApi(IWXAPI wxApi) {
        PluginConstants.wxApi = wxApi;
    }


    public static String getWxAppID() {
        return wxAppID;
    }

    public static void setWxAppID(String wxAppID) {
        PluginConstants.wxAppID = wxAppID;
    }

    public static String getQqAppID() {
        return qqAppID;
    }

    public static void setQqAppID(String qqAppID) {
        PluginConstants.qqAppID = qqAppID;
    }
}
